package com.bank.manage.model.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import org.gavin.core.annotation.Values;
import org.hibernate.validator.constraints.Length;

/**
 * Query
 *
 * @author grl
 * @date 2024/4/3
 */
@Data
public class BankQueryParam{
    /**
     * 请求类型
     */
    @NotBlank(message = "类型不能为空!")
    @Values(value = {"SYS","CASH","TRANSFER","INCOME","RECHARGE","CONSUME"})
    private String eventType;
    /**
     * 用户请求Id
     */
    @NotBlank(message = "查询认证的请求Id不能为空!")
    private String requestId;
    /**
     * 钱包编号
     */
    private String walletNum;
    /**
     * 如人脸认证的唯一值
     */
    @NotBlank(message = "查询认证的唯一标识不能为空!")
    private String specificValue;
    /**
     * 查询备注
     */
    @Length(max = 64,message = "查询备注最大不能超过64个字符!")
    private String remark;

}
